<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>拍卖列表</title>
<link href="../css/common.css" rel="stylesheet" type="text/css" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrap">
<!-- main begin-->
    <div class="sale">
        <h1 class="lf">拍卖结束的商品</h1>
        <div class="right rulse">
            <a href="auction?action=end" title="拍卖结果">拍卖结果</a>&nbsp;&nbsp;
            当前用户是：<span class="blue strong"><a href="#" title="张三">张三</a></span>
            <div class="logout right"><a href="#" title="注销">注销</a></div>
        </div>
    </div>
  <div class="forms">
    <label for="name">名称</label>
        <input name="" type="text" class="nwinput" id="name"/>
        <label for="names">描述</label>
        <input name="" type="text" id="names" class="nwinput"/>
        <label for="time">开始时间</label>
        <input name="" type="text" id="time" class="nwinput"/>
        <label for="end-time">结束时间</label>
        <input name="" type="text" id="end-time" class="nwinput" />
        <label for="price">起拍价</label>
    <input name="" type="text" id="price" class="nwinput" />
    <input name="" type="button"  value="查询" class="spbg buttombg f14  sale-buttom"/>
  </div>
  <div class="items">
      <ul class="rows even strong">
        <li>名称</li>
        <li class="list-wd">描述</li>
        <li>开始时间</li>
        <li>结束时间</li>
        <li>起拍价</li>
        <li class="borderno">操作</li>
      </ul>
        <c:forEach items="${page.pageList}" var="obj">
      <ul class="rows">
        <li><a href="#" title="">${obj.auctionName}</a></li>
        <li class="list-wd">${obj.auctionDesc}</li>
        <li>${obj.auctionStartTime}</li>
        <li>${obj.auctionEndTime}</li>
        <li>${obj.auctionStartPrice}</li>
        <li class="borderno red">
            <a href="auction?action=info&auctionId=${obj.auctionId}">竞拍</a>
            <a href="auction?action=update&auctionId=${obj.auctionId}">修改</a>
            <a href="auction?action=del&auctionId=${obj.auctionId}">删除</a></li>
      </ul>
        </c:forEach>
    <div class="page">
        <a href="auction?action=list&pageIndex=1" title="">首页</a>
        <a href="auction?action=list&pageIndex=${page.pageIndex-1}" title="">上一页</a>
        <a href="auction?action=list&pageIndex=${page.pageIndex+1}" title="">下一页</a>
        <a href="auction?action=list&pageIndex=${page.totalPages}" title="">尾页</a>
      </div>
  </div>
<!-- main end-->
</div>
</body>
</html>
